package com.jframe.cfg.service;

import java.util.List;

import com.jframe.cfg.model.Sysmenu;
import com.jframe.sso.model.CurUser;
import com.jframe.sys.orm.service.BaseService;
import com.jframe.sys.webui.Accrodion;


public interface SysmenuService extends BaseService<Sysmenu> {
	public List<Sysmenu> findTopSysmenu();	
	public List<Sysmenu> findListByUpId(int upId);
	public Sysmenu getTopSysmenuByTitleAndGroup(String title,int groupId);
	public List<Sysmenu> findListByUpIdAndGroupId(int upId,int groupId);
	public List<Sysmenu> findListByGroupId(int groupId);
	public List<Accrodion> findRoleAccrodions(CurUser user);
}
